package com.kingdee.eas.basedata.master.material;

import com.kingdee.bos.dao.AbstractObjectCollection;
import com.kingdee.bos.dao.IObjectPK;

public class MaterialCollection extends AbstractObjectCollection 
{
    public MaterialCollection()
    {
        super(MaterialInfo.class);
    }
    public boolean add(MaterialInfo item)
    {
        return addObject(item);
    }
    public boolean addCollection(MaterialCollection item)
    {
        return addObjectCollection(item);
    }
    public boolean remove(MaterialInfo item)
    {
        return removeObject(item);
    }
    public MaterialInfo get(int index)
    {
        return(MaterialInfo)getObject(index);
    }
    public MaterialInfo get(Object key)
    {
        return(MaterialInfo)getObject(key);
    }
    public void set(int index, MaterialInfo item)
    {
        setObject(index, item);
    }
    public boolean contains(MaterialInfo item)
    {
        return containsObject(item);
    }
    public boolean contains(Object key)
    {
        return containsKey(key);
    }
    public int indexOf(MaterialInfo item)
    {
        return super.indexOf(item);
    }
}